Declare the GtkWidget::window-dragging style property as readonly
authorMatthias Clasen <mclasen@redhat.com>
Sun, 29 Aug 2010 00:08:14 +0000 (20:08 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 29 Aug 2010 00:08:14 +0000 (20:08 -0400)
This is how we generally declare style properties, and declaring
this one r/w was just an oversight.

gtk/gtkwidget.c

index 68833acd137e41cbbb28f537ec2d646e73b8adc4..d49041553b8e9ba8e085db1272a5508a4937de4c 100644 (file)
@@ -2493,7 +2493,7 @@ gtk_widget_class_init (GtkWidgetClass *klass)
                                                                  P_("Window dragging"),
                                                                  P_("Whether windows can be dragged by clicking on empty areas"),
                                                                  FALSE,
-                                                                 GTK_PARAM_READWRITE));
+                                                                 GTK_PARAM_READABLE));
 
   /**
    * GtkWidget:link-color: